package com.tequila.core.service;

import com.tequila.domain.dto.StoreManagerDto;
import com.tequila.domain.entity.StoreManager;
import com.tequila.domain.query.StoreManagerQuery;

import fe.core.Pagination;

import java.util.List;

public interface StoreManagerService {

    public Pagination<StoreManagerDto> queryPageListByParam(StoreManagerQuery query);

    public StoreManagerDto queryById(Long id);

    public List<StoreManagerDto> queryByIdList(List<Long> idList);

    public List<StoreManagerDto> queryListByParam(StoreManagerQuery query);

    public Long insert(StoreManager entity);

    public Long save(StoreManager entity);

    public int updateById(StoreManager param);

    public int updateSelectiveById(StoreManager param);

    public int deleteById(Long id);

    public int deleteByIdList(List<Long> idList);

    public StoreManagerDto queryStoreManagerByPhone(String phone);
}
